<?php
/*
 * Copyright (c) 2017-2025 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
namespace TencentCloud\Ccc\V20200210\Models;
use TencentCloud\Common\AbstractModel;

/**
 * DescribeTelCallInfo response structure.
 *
 * @method integer getTelCallOutCount() Obtain Number of minutes consumed by outbound package.
 * @method void setTelCallOutCount(integer $TelCallOutCount) Set Number of minutes consumed by outbound package.
 * @method integer getTelCallInCount() Obtain Number of minutes consumed by inbound package.
 * @method void setTelCallInCount(integer $TelCallInCount) Set Number of minutes consumed by inbound package.
 * @method integer getSeatUsedCount() Obtain Number of agent usage statistics.
 * @method void setSeatUsedCount(integer $SeatUsedCount) Set Number of agent usage statistics.
 * @method integer getVoipCallInCount() Obtain Number of minutes consumed by audio package.
 * @method void setVoipCallInCount(integer $VoipCallInCount) Set Number of minutes consumed by audio package.
 * @method integer getVOIPCallInCount() Obtain Number of minutes consumed by audio package.
 * @method void setVOIPCallInCount(integer $VOIPCallInCount) Set Number of minutes consumed by audio package.
 * @method integer getAsrOfflineCount() Obtain Number of minutes consumed by offline speech-to-text package.
 * @method void setAsrOfflineCount(integer $AsrOfflineCount) Set Number of minutes consumed by offline speech-to-text package.
 * @method integer getAsrRealtimeCount() Obtain Number of minutes consumed by real-time speech-to-text package.
 * @method void setAsrRealtimeCount(integer $AsrRealtimeCount) Set Number of minutes consumed by real-time speech-to-text package.
 * @method string getRequestId() Obtain The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
 * @method void setRequestId(string $RequestId) Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
 */
class DescribeTelCallInfoResponse extends AbstractModel
{
    /**
     * @var integer Number of minutes consumed by outbound package.
     */
    public $TelCallOutCount;

    /**
     * @var integer Number of minutes consumed by inbound package.
     */
    public $TelCallInCount;

    /**
     * @var integer Number of agent usage statistics.
     */
    public $SeatUsedCount;

    /**
     * @var integer Number of minutes consumed by audio package.
     * @deprecated
     */
    public $VoipCallInCount;

    /**
     * @var integer Number of minutes consumed by audio package.
     */
    public $VOIPCallInCount;

    /**
     * @var integer Number of minutes consumed by offline speech-to-text package.
     */
    public $AsrOfflineCount;

    /**
     * @var integer Number of minutes consumed by real-time speech-to-text package.
     */
    public $AsrRealtimeCount;

    /**
     * @var string The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
     */
    public $RequestId;

    /**
     * @param integer $TelCallOutCount Number of minutes consumed by outbound package.
     * @param integer $TelCallInCount Number of minutes consumed by inbound package.
     * @param integer $SeatUsedCount Number of agent usage statistics.
     * @param integer $VoipCallInCount Number of minutes consumed by audio package.
     * @param integer $VOIPCallInCount Number of minutes consumed by audio package.
     * @param integer $AsrOfflineCount Number of minutes consumed by offline speech-to-text package.
     * @param integer $AsrRealtimeCount Number of minutes consumed by real-time speech-to-text package.
     * @param string $RequestId The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
     */
    function __construct()
    {

    }

    /**
     * For internal only. DO NOT USE IT.
     */
    public function deserialize($param)
    {
        if ($param === null) {
            return;
        }
        if (array_key_exists("TelCallOutCount",$param) and $param["TelCallOutCount"] !== null) {
            $this->TelCallOutCount = $param["TelCallOutCount"];
        }

        if (array_key_exists("TelCallInCount",$param) and $param["TelCallInCount"] !== null) {
            $this->TelCallInCount = $param["TelCallInCount"];
        }

        if (array_key_exists("SeatUsedCount",$param) and $param["SeatUsedCount"] !== null) {
            $this->SeatUsedCount = $param["SeatUsedCount"];
        }

        if (array_key_exists("VoipCallInCount",$param) and $param["VoipCallInCount"] !== null) {
            $this->VoipCallInCount = $param["VoipCallInCount"];
        }

        if (array_key_exists("VOIPCallInCount",$param) and $param["VOIPCallInCount"] !== null) {
            $this->VOIPCallInCount = $param["VOIPCallInCount"];
        }

        if (array_key_exists("AsrOfflineCount",$param) and $param["AsrOfflineCount"] !== null) {
            $this->AsrOfflineCount = $param["AsrOfflineCount"];
        }

        if (array_key_exists("AsrRealtimeCount",$param) and $param["AsrRealtimeCount"] !== null) {
            $this->AsrRealtimeCount = $param["AsrRealtimeCount"];
        }

        if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
            $this->RequestId = $param["RequestId"];
        }
    }
}
